package com.controller;

import lombok.Data;

import javax.annotation.security.DenyAll;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

@Data
public class TestUser {

    private String time;
    private String name;

    public TestUser(String time, String name) {
        this.time = time;
        this.name = name;
    }

    public static void main(String[] args) {

        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        long lt = new Long("4663015827000");
        Date date = new Date(lt);
        System.out.println (simpleDateFormat.format(date));


        }
    }

